<form id="filterForm"  onsubmit="return sendQuery(this);" action="/admin/admin-users/access-list/" name="DataForm"></form>
<div id="adminBlock">
        <?php if (is_array($this->Info)) {
    ?>

        <div class="height12">&nbsp;</div>
        <table class="info-table">

        <?php echo $this->render('table_header.phtml') ?>

        <?php
            foreach ($this->Info as $item) {
        ?>
        <?php $info = str_replace(']', '', str_replace('[', '', json_encode($item))); ?>
                <tr class="line1">
            <?php foreach ($this->tableColumn as $tb_column) {
            ?>
            <?php
                    if ($tb_column['title'] == 'status') {
                        $it = $this->trans->_('status' . (string) $item[$tb_column['title']]);
                    } elseif ($tb_column['title'] == 'Change') {
                        $it = '<div class="action_block" style="text-align: center"><a href="javascript: void(0)" onclick="globalModule.editAdminGroup('.$item['id'].')"><img src="/img/icon_edit.gif" alt="edit" title="edit" /></a>';
                        $it .= '<a class="removeLink" href="javascript: void(0)" onclick="globalModule.deleteRow('.$item['id'].')"><img src="/img/icon_del.gif" alt="remove" title="remove" /></a></div>';
                    } elseif ($tb_column['title'] == 'country') {
                        $it = '<div style="text-align: center">' . $item[$tb_column['title']] . '</div>';
                    } elseif (gettype($item[$tb_column['title']]) != 'object') {
                        $it = (string) $item[$tb_column['title']];
                    } else {
                        $it = Admin_Model_Account::getRealTime($item[$tb_column['title']], $this->timezone, $this->locale);
                    }
            ?>
                    <td>
                <?php
                    echo $it;
                    if ($tb_column['title'] == 'Change') {
                ?>
                        <script type="text/javascript">
                            $("#info-<?php echo $item['id'] ?>").data(<?php echo $info ?>);
                        </script>
                <?php } ?>
                </td>
            <?php } ?>
            </tr>
        <?php } ?>
            <tr class="bottom-line"><td colspan="<?php echo count($this->tableColumn) ?>"></td></tr>
        </table>


    <?php } else {
 ?>
            <div><?php echo $this->trans->_('rows_no_found'); ?></div>
<?php } ?>
</div>
<?php echo GetSnippets::addJsVar(); ?>